home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / etc / X11 / app-defaults / XTerm-color < prev    next >
Encoding:
Text File  |  2009-02-26  |  4.6 KB  |  146 lines

  1. ! $XTermId: XTerm-col.ad,v 1.20 2006/06/24 14:57:29 tom Exp $
  2. ! $XFree86: xc/programs/xterm/XTerm-col.ad,v 3.7 2005/09/18 23:48:12 dickey Exp $
  3.  
  4. #include "XTerm"
  5.  
  6. *VT100*colorMode: on
  7. *VT100*boldColors: on
  8. *VT100*dynamicColors: on
  9.  
  10. ! Set the default text foreground and background colors.
  11. *VT100*foreground: gray90
  12. *VT100*background: black
  13.  
  14. ! - OR -
  15. ! Uncomment this for black text on a "white" background.
  16. !*VT100*foreground: black
  17. !*VT100*background: gray90
  18.  
  19. ! - OR -
  20. ! leave the foreground/background colors alone (at the mercy of your desktop
  21. ! designer).
  22.  
  23. ! Color the popup/pulldown menu border to match the text widget's foreground.
  24. !*SimpleMenu*borderColor: gray15
  25.  
  26. ! Uncomment this to use color for underline attribute
  27. !*VT100*colorULMode: on
  28. *VT100*colorUL: yellow
  29.  
  30. !*VT100*italicULMode: on
  31.  
  32. ! Uncomment this to disable underlining, e.g., if colorULMode is set.
  33. !*VT100*underLine: off
  34.  
  35. ! Uncomment this to use color for the bold attribute
  36. !*VT100*colorBDMode: on
  37. *VT100*colorBD: white
  38.  
  39. ! Uncomment this to use the bold/underline colors in preference to other colors
  40. !*VT100*colorAttrMode: on
  41.  
  42. ! These are the 8 ANSI colors and their bright equivalents.  Depending on
  43. ! other resource settings, xterm may use the bright colors when displaying
  44. ! bold text (see the boldColors resource).
  45. *VT100*color0: black
  46. *VT100*color1: red3
  47. *VT100*color2: green3
  48. *VT100*color3: yellow3
  49. *VT100*color4: blue2
  50. *VT100*color5: magenta3
  51. *VT100*color6: cyan3
  52. *VT100*color7: gray90
  53. *VT100*color8: gray50
  54. *VT100*color9: red
  55. *VT100*color10: green
  56. *VT100*color11: yellow
  57. *VT100*color12: rgb:5c/5c/ff
  58. *VT100*color13: magenta
  59. *VT100*color14: cyan
  60. *VT100*color15: white
  61.  
  62. ! Disclaimer: there are no standard colors used in terminal emulation.
  63. !
  64. ! The choice for color4 and color12 is a tradeoff between contrast, depending
  65. ! on whether they are used for text or backgrounds.  Note that either color4 or
  66. ! color12 would be used for text, while only color4 would be used for a
  67. ! background.  These are treated specially, since the luminosity of blue is
  68. ! only about half that of red/green, and is typically not accounted for in the
  69. ! RGB scheme.
  70. !
  71. ! Blue text on a black background should be readable.
  72. ! Blue backgrounds should not be "too" bright.
  73. !
  74. ! Originally color4/color12 were set to the names blue3/blue
  75. !*VT100*color4: blue3
  76. !*VT100*color12: blue
  77. !
  78. ! They are from rgb.txt respectively:
  79. !  0   0 205        blue3
  80. !  0   0 255        blue
  81. ! However, blue3 is not readable on a black background.
  82. !
  83. ! Another choice was from the Debian settings:
  84. !*VT100*color4: DodgerBlue1
  85. !*VT100*color12: SteelBlue1
  86. !
  87. ! From rgb.txt:
  88. ! 30 144 255        DodgerBlue1
  89. ! 99 184 255        SteelBlue1
  90. !
  91. ! Some users object to this choice because the background (color4) is brighter
  92. ! than they are accustomed.  Others point out that the different weights for
  93. ! the red/green components make it appear to be not really blue.  Finally, it
  94. ! provides poor contrast against color13 and color14.
  95. !
  96. ! The current choice uses equal weights for red/green (effectively adding a
  97. ! gray to the result).  It is brighter than the original choice, and provides
  98. ! more contrast between color12 and color13, color14 than SteelBlue1 did.
  99. ! Contrast of color4 against black is slightly improved over the original.
  100. !
  101. ! Some refinement is certainly possible (you are welcome to try) -TD
  102.  
  103.  
  104. #if PLANES > 8
  105. ! Color the popup menus and the menubar to match:
  106. *SimpleMenu*background: AntiqueWhite
  107. *SimpleMenu*foreground: gray15
  108.  
  109. ! Color the menubar to match:
  110. *Form.menubar.background: AntiqueWhite
  111. *Form.menubar*background: AntiqueWhite
  112. *Form.menubar.foreground: gray15
  113. *Form.menubar*foreground: gray15
  114. *Form.background: AntiqueWhite
  115. *form.background: AntiqueWhite
  116.  
  117. *mainMenu*background: AntiqueWhite
  118. *mainMenu*foreground: gray15
  119. *vtMenu*background: AntiqueWhite
  120. *vtMenu*foreground: gray15
  121. *fontMenu*background: AntiqueWhite
  122. *fontMenu*foreground: gray15
  123. *tekMenu*background: AntiqueWhite
  124. *tekMenu*foreground: gray15
  125.  
  126. ! The following two sections take advantage of new features in version 7
  127. ! of the Athena widget library; see Xaw(7x).
  128.  
  129. ! This section is commented out because Xaw has no way to dynamically size
  130. ! the gradient.  The dimension parameter may need to be adjusted depending
  131. ! on the font used in the menu.
  132. !*SimpleMenu*backgroundPixmap:   gradient:vertical?dimension=350&start=gray90&end=gray60
  133. !*SimpleMenu*foreground:         gray15
  134.  
  135. *VT100.scrollbar.thumb:         vlines2
  136. *VT100.scrollbar.width:         14
  137. *VT100.scrollbar.background:    gray60
  138. *VT100.scrollbar.foreground:    rgb:a/5/5
  139. *VT100.scrollbar.borderWidth:   0
  140. *VT100.scrollbar.displayList:\
  141. foreground      gray90;\
  142. lines           1,-1,-1,-1,-1,1;\
  143. foreground      gray60;\
  144. lines           -1,0,0,0,0,-1
  145. #endif
  146.